test = [
0x09 ,0x28 ,0x2d ,0x2d ,0x2d ,0x2d ,0x2d ,0x2d,  
0x2d ,0x2d ,0x2d ,0x2d ,0x2d ,0x2d ,0x2c ,0x42, 
0x48 ,0x34 ,0x42 ,0x48 ,0x34 ,0x42 ,0x47 ,0x48,  
0x48 ,0x48 ,0x48 ,0x48 ,0x48 ,0x48 ,0x47 ,0x47,  
0x47 ,0x34 ,0x2d ,0x2d ,0x2d ,0x42 ,0x48 ,0x48,  
0x48 ,0x34 ,0x2e ,0x2c ,0x41 ,0x48 ,0x35 ,0x2e,  
0x2d ,0x41 ,0x33 ,0x2d ,0x2d ,0x2d ,0x2d ,0x2d,  
0x2d ,0x2d ,0x2d ,0x2d ,0x2d ,0x2d ,0x2d ,0x2d,  
0x2c ,0x2d ,0x2c ,0x2c ,0x2c ,0x2c ,0x2c ,0x2d,  
0x2d ,0x2d ,0x2d ,0x2d ,0x2d ,0x2d ,0x2d ,0x2d,  
0x2d ,0x2d ,0x2d ,0x2d ,0x2d ,0x2d ,0x2d ,0x2d,  
0x2d ,0x2c ,0x2c ,0x2c ,0x2c ,0x2c ,0x2d ,0x2d,  
0x2d ,0x2d ,0x2d ,0x2d ,0x2d ,0x2d ,0x2d ,0x2d,  
0x2d ,0x2d ,0x2d ,0x2d ,0x2d ,0x2d ,0x2d ,0x2d,  
0x2d ,0x42 ,0x34 ,0x2e ,0x2d ,0x2c ,0x2c ,0x41,  
0x33 ,0x2e ,0x2d ,0x41 ,0x47 ,0x48 ,0x48 ,0x48,  
0x48 ,0x59 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00,  
0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ]
test1 = [(5  ,20),
    (40 ,60),
    (65 ,80),
    (85 ,95)]
for i in range(0, len(test)):
    mark = 10
    for j in range(0, 4):
        if test[i] >=test1[j][0] and test[i] <= test1[j][1]:
            mark = j
    if mark == 10:
        print(test[i])
        
print(test)
